package cruds;

import Player.TocaPlayList;

public class MenuListaReproducao {

	private Main.Menu MenuPlayList;
	
	
	public MenuListaReproducao() {
		MenuPlayList = new Main.Menu("Player !!! ", "Opção -> ", 0);
		MenuPlayList.addItem("1 - Executar PlayList");
		MenuPlayList.addItem("2 - Adicionar PlayList");
		MenuPlayList.addItem("3 - Remover PlayList");
		MenuPlayList.addItem("3 - Editar PlayList");
	}
		
	public void printOpcoes(){
		do{
			try {
				MenuPlayList.printMenu();
			} catch (Exception e) {
				System.out.println( e.getMessage() );
			}
			
			switch( MenuPlayList.Option ){
			case 1:
				System.out.println( " Executar PlayList ----------------- " );
				break;
			case 2:
				System.out.println( " Adicionar  PlayList ----------------- " );
				break;
			case 3:
				System.out.println( " Remover PlayList ----------------- " );
				break;
			case 4:
				System.out.println( " Editar  PlayList ----------------- " );
				break;
			}
			
		} while ( MenuPlayList.Option != MenuPlayList.OptionSair );	
	}
}
